<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>DESFingerprint</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">DESFingerprint()</font></b></p>
<p><b>语法</b></p><blockquote>

Result$ = <font color="#3A3966"><b>DESFingerprint</b></font>(Password$, Key$)</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Returns a DES encrypted version of the given Password$. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Password$</i></td>
<td width="90%"> 
 
The password to encrypt. 
It can be up to 8 characters long (all further 
characters are simply ignored). <a href="stringfingerprint.html">StringFingerprint()</a> can be used to hash a bigger buffer. 

 

</td></tr>
<tr><td><i>Key$</i></td>
<td> 
 
The Key$ is also known as the 'Salt' parameter, well know from Linux/Unix/BSD users. When using a 2 
characters long Key$, this function returns a 'Salt2' string, compatible 
which any standard Linux hash password (/etc/passwd). This function is based on the open source crypt() 
function. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



Returns the encrypted password. 

 

</blockquote><p><b>备注</b></p><blockquote>



This algorithm is based on the DES (Data Encryption Standard) crypt method to generates a 13 characters 
string. This string is mean to be unique and non-reversible implying a strong encryption, hardly crackable 
when the password is correctly chosen. 

 

</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">DESFingerprint</font>("Password", "Key007")
  <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">DESFingerprint</font>("NewPass", "Key007")

</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="stringfingerprint.html">StringFingerprint()</a>, <a href="fingerprint.html">Fingerprint()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=cryptrandomdata.html>CryptRandomData()</a> - <a href="index.html">Cipher Index</a> - <a href="filefingerprint.html">FileFingerprint()</a> -&gt;<br><br>

</body></html>